from config.config import CP
from common.database.greenplum_DB import GreenplumDB
from common.database.mysql_DB import MysqlDB

if CP["database"]["OLTP"] == "mysql":
    OLTP = MysqlDB()
if CP["database"]["OLAP"] == "greenplum":
    OLAP = GreenplumDB()